package com.service.gmall.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.service.gmall.model.product.BaseCategory3;
import com.service.gmall.model.to.CategoryViewTo;
import org.apache.ibatis.annotations.Param;

/**
* @author alpha
* @description 针对表【base_category3(三级分类表)】的数据库操作Mapper
* @createDate 2022-08-22 22:45:59
* @Entity com.service.gmall.product.domain.BaseCategory3
*/
public interface BaseCategory3Mapper extends BaseMapper<BaseCategory3> {
    /**
     * @param category3Id
     * @description: 根据三级分裂ID查询出二级分类Id以及一级分类ID
     * @return: com.service.gmall.model.to.CategoryViewTo
     * @author: alpha
     * @date: 2022/8/26 22:48
     */
    CategoryViewTo getCategoryView(@Param("category3Id") Long category3Id);
}




